<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>upload File</title>
</head>
<body>
<h1>文件上传实例</h1>
<form method="post" action="/WebContent/upload" enctype="multipart/form-data">
    选择一个文件:
    <input type="file" name="uploadFile" />
    <br/><br/>
    <input type="submit" value="上传" />
</form>

</body>
</html>